# -*- coding: utf-8 -*-
"""
****************************
@Time    : 2021/4/28 13:19
@Author  : Candy
@File    : article.py
****************************
"""
import re

VALID_TITLE = re.compile('^[A-Za-z0-9\u4e00-\u9fa5\s/:：@)（）(]{4,50}$')


def check_title(title):
    res = VALID_TITLE.search(title.strip())
    return True if res else False
